Kernigan_B.W.,Ritchie_D.M.-Yazyk_programmirovaniya_Si[2nd_ed][1992y]-russian.tex 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. \documentclass[10pt,a5paper]{bookknrrus}
  2. \input{definitions.tex}
  3. \title{Язык программирования Си}
  4. \author{Брайан Уилсон Керниган
  5. \and Деннис МакАлистэйр Ритчи}
  6. \date{1992}
  7. \begin{document}
  8. \input{title_pages.tex}
  9. \input{chapters/intros.tex}
  10. \input{chapters/chapter1.tex}
  11. \input{chapters/chapter2.tex}
  12. \input{chapters/chapter3.tex}
  13. \input{chapters/chapter4.tex}
  14. \input{chapters/chapter5.tex}
  15. \input{chapters/chapter6.tex}
  16. \input{chapters/chapter7.tex}
  17. \input{chapters/chapter8.tex}
  18. \appendix
  19. \setcounter{secnumdepth}{3}
  20. \input{appendixes/apx_a.tex}
  21. \input{appendixes/apx_b.tex}
  22. \input{appendixes/apx_c.tex}
  23. \input{index_referenced_entries.tex}
  24. %
  25. % xyndy где-то меняет pagestyle первой страницы предметного указателя,
  26. % не обращая внимания на определения в cls, поэтому тут небольшой костыль,
  27. % который превращает \thispagestyle в стаб
  28. % TODO: найти место, где \printindex меняет pagestyle и сделать корректное
  29. % решение
  30. %
  31. \let\originalstyle=\thispagestyle
  32. \def\thispagestyle#1{}
  33. \printindex
  34. \let\thispagestyle=\originalstyle
  35. \tableofcontents
  36. \input{final_tech_pages.tex}
  37. \end{document}
  38. %
  39. % — это образец хреновой черты
  40. %